package com.zhuiyi.yiqingbackend.service;

import com.zhuiyi.yiqingbackend.domain.Notice;
import com.zhuiyi.yiqingbackend.domain.response.NoticeRespose;

import java.util.List;

public interface NoticeService {
    List<Notice> getNotices();
    NoticeRespose getNotices2();
    boolean addNotice(Notice notice);
    boolean deleteNotice(int id);
    boolean updateNotice(Notice notice);
    List<Notice> getNoticeById(int id);
}
